package com.ocom.common.entity.aiot;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ocom.common.entity.base.EntityBase;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName(value = "xf_device_info")
public class EntityXfDeviceInfo extends EntityBase implements Serializable {

  private static final long serialVersionUID = 6187010768135365831L;
  @TableId(value = "device_no", type = IdType.NONE)
  private String deviceNo;
  private Long pAgentId;
  private String pSaasNo;
  private Long pComId;
  private Long agentId;
  private Long comId;
  private String saasNo;
  private Long status;
  private Long commMode;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+08")
  private Date commTime;
  @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
  private Date endTime;
  private String appVer;
  private String appVerTab;
  private Long appJobId;
  private String osVer;
  private String osVerTab;
  private Long deviceType;
  private Long deviceVerType;
//  private String codePicUrl;

}
